#!/bin/bash
# The logic to start up your application should be put in this
# script. The application will work only if it binds to
# $OPENSHIFT_INTERNAL_IP:8080
mkdir $OPENSHIFT_DATA_DIR/logs
chmod +x $OPENSHIFT_DATA_DIR/incontrol/bin/incontrol
nohup $OPENSHIFT_DATA_DIR/incontrol/bin/incontrol $OPENSHIFT_DATA_DIR/conf/config.yaml > $OPENSHIFT_DATA_DIR/logs/server.log 2>&1 &

